package com.glut.vo;

import java.io.Serializable;

/**
 * 用户表
 * @Author:沈林玉
 * @date:2020/2/2 21:14
 * @Description:
 */
public class SstsUsers implements Serializable {

    private String sstsUserID;  // 用户ID
    private String sstsNo;      // 学生/教师：学号/工号
    private String username;    // 用户名
    private String password;    // 密码
    private Integer userType;   // 用户类型（教师/学生：1/0）

    public SstsUsers() {
    }

    public SstsUsers(String sstsUserID,
                      String sstsNo,
                      String username,
                      String password,
                      Integer userType)
    {
        this.sstsUserID = sstsUserID;
        this.sstsNo = sstsNo;
        this.username = username;
        this.password = password;
        this.userType = userType;
    }

    public String getSstsUserID() {
        return sstsUserID;
    }

    public void setSstsUserID(String sstsUserID) {
        this.sstsUserID = sstsUserID;
    }

    public String getSstsNo() {
        return sstsNo;
    }

    public void setSstsNo(String sstsNo) {
        this.sstsNo = sstsNo;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    @Override
    public String toString() {
        return "SstsUsers{" +
                "sstsUserID='" + sstsUserID + '\'' +
                ", sstsNo='" + sstsNo + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", userType=" + userType +
                '}';
    }
}
